package com.sny.vo.param;

import lombok.Data;
import lombok.experimental.Accessors;
import org.springframework.web.multipart.MultipartFile;

@Data
@Accessors(chain = true)
public class FileUploadRequestParam {
    //上传文件的文件名称
    private String name;
//    //任务ID
//    private String id;
    //总分片数量
    private Integer chunks;
    //当前为第几块分片
    private Integer chunk;
    //按多大的文件粒度进行分片
    private Long chunkSize;
    //分片对象
    private MultipartFile file;
    // MD5
    private String md5;
    //当前分片大小
//    private Long size = 0L;
    //应用id
    private String appId;
}
